#include"Stack.h"



void Test1()
{
	ST s;
	StackInit(&s);
	StackPush(&s, 1);
	StackPush(&s, 2);

	printf("%d ", StackTop(&s));
	StackPop(&s);

	StackPush(&s, 3);
	StackPush(&s, 4);
	
	int num = StackSize(&s);
	//printf("%d\n", num);
	printf("%d ", StackTop(&s));
	StackPop(&s);
	printf("%d ", StackTop(&s));
	StackPop(&s);
	printf("%d ", StackTop(&s));
	StackPop(&s);
	//printf("%d ", StackTop(&s));
	//StackPop(&s);
	//printf("%d ", StackTop(&s));
	//StackPop(&s);

}
int main()
{

	Test1();
	return 0;
}